package ru.nsu.fit.shared.error_codes;

/**
 * Created by IntelliJ IDEA.
 * User: vtimofeev
 * Date: 11/19/12
 * Time: 10:13 PM
 * To change this template use File | Settings | File Templates.
 */

@Deprecated
public class Error {

    private int code;
    private String message;

    public Error() {}

    public void setCodeAndMessageByCode(int code) {
        this.code = code;
        //this.message = ErrorCodes.messages[code];
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
